.query-part {
  background-color: $tight-form-func-bg;

  &.unknown-function {
    border: 1px solid $error-text-color;
  }

  &.show-function-controls {
    padding-top: 5px;
    min-width: 100px;
    text-align: center;
  }

  .query-part__last {
    display: none;
  }

  &:hover .query-part__last {
    display: inline;
  }

  &:hover {
    background: $tight-form-func-highlight-bg;
  }
}

.query-part__link {
  cursor: pointer;

  &--no-value {
    color: $text-muted;
  }
}
